package cn.cdutetc.foxwatch.query;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data


@NoArgsConstructor
public class DemoQuery extends PageQuery {
    private String name;

    public DemoQuery(Integer pageNum, Integer pageSize, String sortBy, Boolean isAsc, String name) {
        super(pageNum, pageSize, sortBy, isAsc);
        this.name = name;
    }

    public DemoQuery(String name) {
        this.name = name;
    }
}
